
#ifndef DESIGN_PATTERNS_COMPOSITE_PIECEGOODS_H_
#define DESIGN_PATTERNS_COMPOSITE_PIECEGOODS_H_

#include "Commodity.h"
#include <cstdio>

class PieceGoods : public virtual Commodity
{
public:
  PieceGoods(std::string name, double price_per);

  double CheckOut() override;
};

#endif //DESIGN_PATTERNS_COMPOSITE_PIECEGOODS_H_
